<?php
include_once("admin/inc.php");
include_once($INCLUDE."/main/database_access.php");
include_once($INCLUDE."/main/system_access.php");
include_once($INCLUDE."/main/tpl_load.php");

class Header{
	
	private $str_breadcrum = "";	
	
	public function __construct($str_name, $str_id, $cal=""){
		
		global $logManager, $URLINCLUDE, $URLTEMPLATES, $TPL;
		
		$tplHeader = new TplLoad();
		$db_access = new DataBaseAccess();
		$sys_admin = new SystemAccess($db_access->getConnection());
		
		if (false){	//!$logManager->isLogged()){
			$tplHeader->assign("appPath", "ingreso");
		}else{
			
			$tplHeader->assign("include", $URLINCLUDE);
			$tplHeader->assign("css", $URLTEMPLATES.$TPL);
			
		}
		
		$tplHeader->display("header.tpl");		
		
	}
	
	
}
?>